package com.youlu.campus.entity.course.dto;

import com.youlu.campus.entity.UserPO;
import com.youlu.campus.entity.course.group.CoursePay;
import com.youlu.campus.entity.course.group.Info;
import com.youlu.campus.entity.course.group.VideoStudy;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;


/**
 * @author : [dengbo]
 * @className : UserVideoDTO
 * @description : [描述说明该类的功能]
 * @createTime : [2023/2/21 15:35]
 */
@Data
public class UserVideoDTO {
    @NotBlank(message = "活动id不能为空", groups = {Info.class, CoursePay.class, VideoStudy.class})
    private String activityId;
    @NotBlank(message = "课程id不能为空", groups = {VideoStudy.class, CoursePay.class})
    private String courseId;
    @NotBlank(message = "视频Id不能为空", groups = {VideoStudy.class})
    private String videoId;
    private UserPO userPO;
    private String appId;
    private String userId;
    private String platform;
}
